import com.mattgarner.jaddas.cli.ClientConfigurationManager;
import com.mattgarner.jaddas.cli.ConsoleManager;
import com.mattgarner.jaddas.cli.net.Client;



// Command Line Interface
// for Jaddas system
// by Matt Garner (matt@mattgarner.com)


public class JaddasCLI {
	private static JaddasCLI instance;
	private ClientConfigurationManager clientConfig;
	private Client client;
	
	
	public JaddasCLI() {
		clientConfig = ClientConfigurationManager.getInstance();
		client = new Client(clientConfig.getServerAddress(), clientConfig.getServerPort());
		client.connect();
		
		(new Thread(new ConsoleManager())).start();
	}
	
	public static void main(String[] args) {		
		System.out.println("** Jaddas Command Line Interface (cli) Client v1.00b");
		instance = new JaddasCLI();		
	}

	
	
}
